<?php
declare (strict_types = 1);

namespace app\type\model;

use think\facade\View;
use think\Model;

/**
 * @mixin \think\Model
 */
class Type extends Model
{
    //
    public function add($data)
    {
        return $this->insert($data);
    }

    public function list()
    {
        return $this->paginate(3);
    }
}
